{foreach from=$errors item=message key=error}
	{if $error eq 'LISTING_ID_NOT_SPECIFIED'}
		<p class="error">[[The system cannot proceed as Listing ID not specified]]</p>
	{elseif $error eq 'WRONG_LISTING_ID'}
		<p class="error">[[Wrong Listing ID specified]]</p>
	{elseif $error eq 'LISTING_IS_NOT_COMPLETE'}
		<p class="error">[[Your listing cannot be activated unless all required fields are filled in.]]</p>
	{elseif $error eq 'LISTINGS_NUMBER_LIMIT_EXCEEDED'}
		<p class="error">[[Your listings number for current product has been exceeded.]]</p>

        <div class="clr"><br/></div>
        <p>[[To purchase a new product please go to the Products section of the website]]:</p>
        <p><a href="{$GLOBALS.site_url}/products/" class="button"><input type="button" value="[[Products:raw]]" class="button" /></a></p>
	{else}
		<p class="error">{$error}</p>
	{/if}
{/foreach}

{if $activated}
<p class="message">[[Your listing is successfully activated]]</p>
<div style="overflow:hidden;">
	<a href="{$GLOBALS.site_url}/my-listings/" >[[Back to My Listings]]</a>
</div>
{/if}